package com.lhz.project.system.model.vo.auth;

import com.lhz.project.system.model.entity.auth.Role;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Author: LiHuaZhi
 * @Date: 2021/6/28 22:11
 * @Description:
 **/
@Data
@Schema(description = "用户角色信息")
public class UserRoleVo {

    @Schema(description = "已分配角色Id集合", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<Integer> roleIds;

    @Schema(description = "角色列表", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<Role> roleList;
}
